/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.ensisa.pujaszymanski;

import java.util.Date;

/**
 *
 * @author Puja, Szymanski
 */
public class Message {

    private String text;
    private Date date;
    private String author;

    public Message(String author, String text) {
	this.text = text;
	this.date = new Date();
        this.author = author;
    }

    public String getText() {
	return this.text;
    }

    public Date getDate() {
	return this.date;
    }

    public String getAuthor() {
        return author;
    }


}
